package com.yaolisheng;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @Company: 神州数码信息系统有限公司
 * @Author : yaols
 * @Date: ${YEAR}/${MONTH}/${DAY}/${TIME}
 **/
@SpringBootApplication
public class PrometheusYls9001 {
    public static void main(String[] args) {
        SpringApplication.run(PrometheusYls9001.class,args);
    }

    @Bean
//    @LoadBalanced
    RestTemplate restTemplate(){
        return new RestTemplate();
    }

}
